<div class="view ui-corner-all">
<table class="display">
	<thead>
		<tr>
			<td colspan="8" align="right"><?php echo CHtml::link('Edit',CHtml::normalizeUrl(array('packing_list_packages_cargo/update','id'=>$data->id)),array('id'=>'edit')); ?></td>
		</tr>
	</thead>
	<tbody>
		<tr>
			<th><?php echo CHtml::encode($data->getAttributeLabel('cargo_id')); ?></th>
			<td colspan="7"><?php echo CHtml::encode($data->cargo->do_ref->ref_no); ?></td>
		</tr>
		<tr>
			<th><?php echo CHtml::encode($data->detail->getAttributeLabel('qty')); ?></th>
			<td colspan="3"><?php echo CHtml::encode($data->detail->qty); ?></td>
			<th><?php echo CHtml::encode($data->detail->getAttributeLabel('wt')); ?></th>
			<td colspan="3"><?php echo CHtml::encode($data->detail->wt); ?></td>
		</tr>
		<tr>
			<th><?php echo CHtml::encode($data->detail->getAttributeLabel('length')); ?></th>
			<td><?php echo CHtml::encode($data->detail->length); ?></td>
			<th><?php echo CHtml::encode($data->detail->getAttributeLabel('width')); ?></th>
			<td><?php echo CHtml::encode($data->detail->width); ?></td>
			<th><?php echo CHtml::encode($data->detail->getAttributeLabel('height')); ?></th>
			<td><?php echo CHtml::encode($data->detail->height); ?></td>
			<th><?php echo CHtml::encode($data->detail->getAttributeLabel('m3')); ?></th>
			<td><?php echo CHtml::encode($data->detail->m3); ?></td>
		</tr>
	</tbody>
</table>
</div>